<?php

namespace app\resource\validate;

use think\Validate;

class CurrencyValidate extends Validate
{
    protected $rule = [
        'name' => 'require',
        'code' => 'require',
        'symbol' => 'require',
    ];

    protected $message = [
        'name.require' => '货币名称不能为空',
        'code.require' => '货币编码不能为空',
        'symbol.require' => '货币符号不能为空',
    ];

}